﻿<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKey" 
            xmlns:tns="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKey" 
            xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
            elementFormDefault="qualified">

    <xsd:element name="EntityKey" type="tns:EntityKey"/>
    
    <xsd:complexType name="EntityKey">
        <xsd:sequence>          
            <xsd:element name="KeyData" type="tns:KeyData"/>
        </xsd:sequence>     
    </xsd:complexType>


    <xsd:complexType name="KeyData">
        <xsd:sequence >
            <xsd:element name="KeyField" type="tns:KeyField" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="KeyField">
        <xsd:sequence>
            <xsd:element name="Field" type="xsd:string"/>
            <xsd:element name="Value" type="xsd:string"/>
        </xsd:sequence>
    </xsd:complexType>
    
</xsd:schema>